<?php
class CV_Zend_Filter_ArrayRecurse implements Zend_Filter_Interface{
	var $childFilter;
	public function __construct( $childFilter ){
		$this->childFilter = $childFilter;
	}
	public function filter( $value ){
		if( !is_array($value) ){
			return $this->childFilter->filter( $value );
		} else {
			foreach( $value as $key => $item ){
				$value[$key] = $this->filter( $item );
			}
			return $value;
		}
	}
}
